from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('Jiaion.views',
    # Example:
    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^$', 'main.Login'),
    (r'^login/$', 'main.Login'),
    (r'^logout/$', 'main.Logout'),
    (r'^index/$', 'main.index'),
    (r'^userreg/$', 'main.Userreg'),
    (r'^system/$', 'system.System'),
    (r'^system/state/$', 'main.index'),
    (r'^system/batch/$', 'system.Batch'),
    (r'^system/webssh/$', 'system.Webssh'),
    (r'^system/status/$', 'system.ExecReturn'),
    (r'^device/$', 'device.Devview'),
    (r'^device/search/$', 'device.Seadev'),
    (r'^device/adddev/$', 'device.Adddev'),
    (r'^device/deldev/$', 'device.Deldev'),
    (r'^device/chadev/$', 'device.Chadev'),
    (r'^usermg/$', 'user.Usermg'),
    (r'^usermg/appar/$', 'user.Userappar'),
    #(r'^batch/status/$', 'Jiaion.views.ExecReturn'),
)

